

//=== Cpp2 type declarations ====================================================


#include "cpp2util.h"

#line 1 "jl_alloc_.cpp2"


//=== Cpp2 type definitions and function declarations ===========================

#line 1 "jl_alloc_.cpp2"
#include "jl_alloc.h"
#include <cstdlib>


static jl_internal_malloc: (ctx: *void, sz: size_t) -> *void = {
	(void)ctx;
	return malloc(sz);
}

#line 11 "jl_alloc_.cpp2"
auto jl_set_default_alloc_funcs(jl_alloc_funcs* funcs) -> void;

//=== Cpp2 function definitions =================================================

#line 1 "jl_alloc_.cpp2"

#line 11 "jl_alloc_.cpp2"
auto jl_set_default_alloc_funcs(jl_alloc_funcs* funcs) -> void{
 (*cpp2::impl::assert_not_null(funcs)).malloc = jl_internal_malloc;

 (*cpp2::impl::assert_not_null(funcs)).ctx = nullptr;

}

